package com.baiku.sanhos.mapper;

import com.baiku.sanhos.pojo.entity.FeedBack;
import com.baiku.sanhos.pojo.vo.FeedBackVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FeedBackMapper extends BaseMapper<FeedBack> {
    int getTotalFeedBack(String theme, Integer userId);

    List<FeedBack> selectAll(int pageSize, int offset, String theme, String nickName);

    void deleteById(Integer id);

    void deleteByIds(List<Integer> ids);

    void updateById(FeedBackVO feedBackVO);
}
